package com.ruoyi.train.service;

import java.util.List;
import com.ruoyi.train.domain.JyTrainingSchoolCourseMaterial;

/**
 * 培训课程物资Service接口
 *
 * @author aulbrother
 * @date 2024-04-06
 */
public interface IJyTrainingSchoolCourseMaterialService
{
    /**
     * 查询培训课程物资
     *
     * @param id 培训课程物资主键
     * @return 培训课程物资
     */
    JyTrainingSchoolCourseMaterial selectJyTrainingSchoolCourseMaterialById(Long id);

    /**
     * 查询培训课程物资列表
     *
     * @param jyTrainingSchoolCourseMaterial 培训课程物资
     * @return 培训课程物资集合
     */
    List<JyTrainingSchoolCourseMaterial> selectJyTrainingSchoolCourseMaterialList(JyTrainingSchoolCourseMaterial jyTrainingSchoolCourseMaterial);

    /**
     * 修改培训课程物资
     *
     * @param jyTrainingSchoolCourseMaterial 培训课程物资
     * @return 结果
     */
    int updateJyTrainingSchoolCourseMaterial(JyTrainingSchoolCourseMaterial jyTrainingSchoolCourseMaterial);

    List<JyTrainingSchoolCourseMaterial> selectJyTrainingSchoolCourseMaterialByCourseId(Long courseId);
}
